// window.c = function () { console.log('CCCCCCCCCCCCCCCCCCCCCCC') };
b = function (x) {
    console.log('BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB');
};

// setInterval(function(){
//     angular.element('pre:last').scope().editAreaCtn = "";
//     angular.element('pre:last').scope().sendTextMessage();
//     console.log("发送空消息")
// },1*60*1000);


let flgx = 0;
let keywordsList = [];

// getMsg(item.MMActualContent)
getMsg = function(t){
    doGet("/t?t="+t);
}

initkeywordsList = function(){
    console.log(flgx)
    if(flgx==0){
        flg = 1;
    }
    keywordsList = ["课表","6"]
}

$.get("http://localhost:8080/MkServer/t?t="+t,function(data,status){
    // return data;
    angular.element('pre:last').scope().editAreaCtn = data;
    angular.element('pre:last').scope().sendTextMessage();
})

doGet = function(url){
 
};


//关键词解析

//发送消息
sendMsg = function(msg){
    angular.element('pre:last').scope().editAreaCtn = msg;
    angular.element('pre:last').scope().sendTextMessage();
}

